<body>
    <script>
        var obj = {
            name:'张三',
            age:18,
            sex:'女',
            hobby:['通宵追剧','游泳','打游戏'],
            sayhello:function(){
                return '你好'
                console.log('说你好')
            }
        }
        // 改
        console.log(obj.name='李四')
        // 增
        console.log(obj.heigth='180')
        // 删
        console.log(delete obj.name)
        // 查
         console.log(obj.hobby)
        //  增
        console.log(obj.hobby.height=190)

        console.log(obj.hobby)
    </script>
</body>